#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
void my_strcpy(char*p1,char*p2)
{
	int i;
	while (*p1++ = *p2++)
	{
		;
	}
}
int main()
{
	char arr1[10] = "abcde";
	char arr2[10] = "edcba";
	my_strcpy(arr1,arr2);
	printf("%s", arr1);
	return 0;
}